import request from "@/utils/request";

export function listProjectFee(query) {
  return request({
    url: '/base/project-fee/list',
    method: 'get',
    params: query
  })
}

export function getProjectFee(projectId) {
  return request({
    url: '/base/project-fee/getOne/' + projectId,
    method: 'get'
  })
}

export function addProjectFee(data) {
  return request({
    url: '/base/project-fee/add',
    method: 'post',
    data: data
  })
}

export function updateProjectFee(data) {
  return request({
    url: '/base/project-fee/edit',
    method: 'put',
    data: data
  })
}

export function delProjectFee(projectId) {
  return request({
    url: '/base/project-fee/remove/' + projectId,
    method: 'delete'
  })
}

export function labelProjectFee(query){
  return request({
    url:'/base/project-fee/label',
    params:query,
  })
}

export function optionProjectFee(query){
  return request({
    url:'/base/project-fee/option',
    params:query,
  })
}
